﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace arcchallenge.configurator.tests
{
    [TestFixture]
    public class test_AppConfigAdapter
    {
        [Test]
        public void Read_default_path_from_AppConfig()
        {
            var sut = new AppConfigAdapter();

            string defaultPath = "";
            sut.Out_ConfigureDefaultDirectoryname += p => defaultPath = p;

            sut.Configure(null);

            Assert.AreEqual("hello, world!", defaultPath);
        }
    }
}
